Test Results - sandbox_common_test

All Test Modules | GitHub Repository | Coverage Reports Designed for use with JUnit.

Summary

99.2%
Tests Failures Errors Skipped Success rate Time
250 0 0 2 99.20% 8.036
Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Packages

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Name Tests Errors Failures Skipped Time(s) Time Stamp Host
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000
0 0 0 0 0.000

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top

Package

Name Tests Errors Failures Skipped Time(s) Time Stamp Host
Back to top


TestCase AstProcessorBuilder Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Data Collection with ReferenceHolder πŸ“Š

Name Status Type Time(s)
Collects nodes in ReferenceHolder πŸ”— Success 0.012
Accumulates data across multiple node types πŸ”— Success 0.002
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Factory Methods πŸ“Š

Name Status Type Time(s)
with(ReferenceHolder) creates builder πŸ”— Success 0.001
with(ReferenceHolder, Set) creates builder with custom node set πŸ”— Success 0.000
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests Fluent API Chaining πŸ“Š

Name Status Type Time(s)
Multiple visitors can be chained πŸ”— Success 0.002
Builder returns itself for chaining πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onAssignment() πŸ“Š

Name Status Type Time(s)
Finds assignments πŸ”— Success 0.005
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onEnhancedForStatement() πŸ“Š

Name Status Type Time(s)
Finds enhanced for loops πŸ”— Success 0.004
Provides access to loop variable πŸ”— Success 0.000
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onIfStatement() πŸ“Š

Name Status Type Time(s)
Finds if statements πŸ”— Success 0.003
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodDeclaration() πŸ“Š

Name Status Type Time(s)
Finds all method declarations πŸ”— Success 0.004
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onMethodInvocation() πŸ“Š

Name Status Type Time(s)
Filters by method name πŸ”— Success 0.006
Finds all method invocations πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onReturnStatement() πŸ“Š

Name Status Type Time(s)
Finds return statements πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onTypeDeclaration() πŸ“Š

Name Status Type Time(s)
Finds type declarations πŸ”— Success 0.001
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests onVariableDeclarationFragment() πŸ“Š

Name Status Type Time(s)
Finds variable declarations πŸ”— Success 0.002
Properties Β»

Back to top

TestCase AstProcessorBuilder Tests processor() Access πŸ“Š

Name Status Type Time(s)
processor() provides access to underlying ASTProcessor πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase ExpressionHelper Tests createNegatedExpression() πŸ“Š

Name Status Type Time(s)
Negates simple name without parentheses πŸ”— Success 0.001
null AST throws exception πŸ”— Success 0.007
Negates infix expression with parentheses πŸ”— Success 0.001
null condition throws exception πŸ”— Success 0.001
Properties Β»

Back to top

TestCase ExpressionHelper Tests isIdentityMapping() πŸ“Š

Name Status Type Time(s)
SimpleName not matching varName is not identity πŸ”— Success 0.001
SimpleName matching varName is identity πŸ”— Success 0.000
InfixExpression is not identity πŸ”— Success 0.009
null varName returns false πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests isNegatedExpression() πŸ“Š

Name Status Type Time(s)
SimpleName is not negated πŸ”— Success 0.001
PrefixExpression with MINUS is not negated πŸ”— Success 0.001
PrefixExpression with NOT is negated πŸ”— Success 0.000
Properties Β»

Back to top

TestCase ExpressionHelper Tests needsParentheses() πŸ“Š

Name Status Type Time(s)
SimpleName does not need parentheses πŸ”— Success 0.000
InfixExpression needs parentheses πŸ”— Success 0.001
null input throws exception πŸ”— Success 0.004
Properties Β»

Back to top

TestCase ExpressionHelper Tests stripNegation() πŸ“Š

Name Status Type Time(s)
Strips negation from PrefixExpression with NOT πŸ”— Success 0.007
Returns original if not negated πŸ”— Success 0.000
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests AnnotationVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: processEach without compilationUnit should throw πŸ”— Success 0.011
Collect annotations using collect() method πŸ”— Success 0.015
Find @SuppressWarnings annotations (SingleMemberAnnotation) πŸ”— Success 0.018
Find @Override annotations πŸ”— Success 0.011
Find @Deprecated annotations by fully qualified name πŸ”— Success 0.013
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests FieldVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Validation: FieldVisitorBuilder requires both annotation and type πŸ”— Success 0.021
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ImportVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find static imports πŸ”— Success 0.021
Find regular imports πŸ”— Success 0.039
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests MethodCallVisitorBuilder Tests πŸ“Š

Name Status Type Time(s)
Find single method call πŸ”— Success 0.018
Collect method calls using collect() πŸ”— Success 0.019
Find multiple method calls πŸ”— Success 0.019
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests Processing Control Tests πŸ“Š

Name Status Type Time(s)
Early termination when processor returns false πŸ”— Success 0.022
Excluding processed nodes πŸ”— Success 0.019
Properties Β»

Back to top

TestCase HelperVisitor Fluent API Tests ReferenceHolder Integration Tests πŸ“Š

Name Status Type Time(s)
ReferenceHolder can be used to collect data πŸ”— Success 0.022
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest ReferenceHolder Correctness Tests πŸ“Š

Name Status Type Time(s)
Multiple nodes are correctly stored in ReferenceHolder πŸ”— Success 0.034
ReferenceHolder is correctly populated in processEach and accessible afterwards πŸ”— Success 0.015
ReferenceHolder.get() returns null for non-existent key - edge case from PR #494 πŸ”— Success 0.015
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest collect() Tests πŸ“Š

Name Status Type Time(s)
collect() gathers all found nodes πŸ”— Success 0.063
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forAnnotation() Tests πŸ“Š

Name Status Type Time(s)
forAnnotation skips already processed nodes πŸ”— Success 0.044
forAnnotation finds MarkerAnnotation and populates ReferenceHolder correctly πŸ”— Success 0.021
forAnnotation with andImports also finds imports πŸ”— Success 0.016
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forField() Tests πŸ“Š

Name Status Type Time(s)
forField with annotation finds FieldDeclaration πŸ”— Success 0.019
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forImport() Tests πŸ“Š

Name Status Type Time(s)
forImport finds ImportDeclaration and populates ReferenceHolder correctly πŸ”— Success 0.014
Properties Β»

Back to top

TestCase HelperVisitorFluentApiTest forMethodCalls() Tests πŸ“Š

Name Status Type Time(s)
forMethodCalls with andStaticImports and andImportsOf πŸ”— Success 0.020
forMethodCalls finds MethodInvocation and populates ReferenceHolder correctly πŸ”— Success 0.023
Properties Β»

Back to top

TestCase LibStandardNames Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase LibStandardNames Tests Existing Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_DEFAULT_CHARSET is 'defaultCharset' πŸ”— Success 0.001
METHOD_GET_PROPERTY is 'getProperty' πŸ”— Success 0.000
METHOD_LINE_SEPARATOR is 'lineSeparator' πŸ”— Success 0.004
FIELD_UTF8 is 'UTF_8' πŸ”— Success 0.000
METHOD_TOSTRING is 'toString' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase LibStandardNames Tests Fully Qualified Type Names πŸ“Š

Name Status Type Time(s)
JAVA_LANG_DOUBLE is 'java.lang.Double' πŸ”— Success 0.000
JAVA_LANG_STRING is 'java.lang.String' πŸ”— Success 0.000
JAVA_LANG_MATH is 'java.lang.Math' πŸ”— Success 0.007
JAVA_LANG_LONG is 'java.lang.Long' πŸ”— Success 0.001
JAVA_LANG_INTEGER is 'java.lang.Integer' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase LibStandardNames Tests Math Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_CONCAT is 'concat' πŸ”— Success 0.000
METHOD_SUM is 'sum' πŸ”— Success 0.001
METHOD_MIN is 'min' πŸ”— Success 0.000
METHOD_MAX is 'max' πŸ”— Success 0.009
Properties Β»

Back to top

TestCase LibStandardNames Tests Stream API Method Constants πŸ“Š

Name Status Type Time(s)
METHOD_STREAM is 'stream' πŸ”— Success 0.000
METHOD_FOREACH is 'forEach' πŸ”— Success 0.000
METHOD_REDUCE is 'reduce' πŸ”— Success 0.000
METHOD_ANY_MATCH is 'anyMatch' πŸ”— Success 0.000
METHOD_NONE_MATCH is 'noneMatch' πŸ”— Success 0.000
METHOD_FILTER is 'filter' πŸ”— Success 0.001
METHOD_MAP is 'map' πŸ”— Success 0.000
METHOD_ALL_MATCH is 'allMatch' πŸ”— Success 0.000
METHOD_FOR_EACH_ORDERED is 'forEachOrdered' πŸ”— Success 0.000
Properties Β»

Back to top

TestCase NodeMatcher Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase NodeMatcher Tests Chaining and State Management πŸ“Š

Name Status Type Time(s)
Chaining stops after first match πŸ”— Success 0.012
isHandled() returns true after match πŸ”— Success 0.009
Properties Β»

Back to top

TestCase NodeMatcher Tests Expression Type Matchers πŸ“Š

Name Status Type Time(s)
ifPrefixIncrementOrDecrement matches decrement πŸ”— Success 0.011
ifPrefixExpression matches PrefixExpression πŸ”— Success 0.011
ifMethodInvocation matches MethodInvocation πŸ”— Success 0.015
ifSimpleName matches SimpleName πŸ”— Success 0.010
ifAssignmentWithOperator matches specific operator πŸ”— Success 0.010
ifPostfixIncrementOrDecrement matches increment πŸ”— Success 0.013
ifAssignment matches Assignment πŸ”— Success 0.011
ifMethodInvocationNamed matches by method name πŸ”— Success 0.018
ifPostfixExpression matches PostfixExpression πŸ”— Success 0.017
Properties Β»

Back to top

TestCase NodeMatcher Tests Factory Methods πŸ“Š

Name Status Type Time(s)
isHandled() returns false initially πŸ”— Success 0.010
on() creates NodeMatcher instance πŸ”— Success 0.004
Properties Β»

Back to top

TestCase NodeMatcher Tests Generic Type Matchers πŸ“Š

Name Status Type Time(s)
ifTypeMatching with predicate πŸ”— Success 0.011
ifType matches by class type πŸ”— Success 0.013
Properties Β»

Back to top

TestCase NodeMatcher Tests Statement Type Matchers πŸ“Š

Name Status Type Time(s)
ifThrowStatement matches ThrowStatement πŸ”— Success 0.013
ifReturnStatement matches ReturnStatement πŸ”— Success 0.010
ifIfStatementWithElse matches if with else πŸ”— Success 0.021
ifVariableDeclaration matches VariableDeclarationStatement πŸ”— Success 0.011
ifContinueStatement matches ContinueStatement πŸ”— Success 0.027
ifIfStatement matches IfStatement πŸ”— Success 0.010
ifBlock matches Block πŸ”— Success 0.009
ifExpressionStatement matches ExpressionStatement πŸ”— Success 0.018
ifBreakStatement matches BreakStatement πŸ”— Success 0.026
ifVariableDeclarationMatching with predicate πŸ”— Success 0.022
ifIfStatementWithoutElse matches if without else πŸ”— Success 0.010
Properties Β»

Back to top

TestCase NodeMatcher Tests Terminal Operations πŸ“Š

Name Status Type Time(s)
orElse does not execute when already handled πŸ”— Success 0.016
orElse executes when no matcher handled πŸ”— Success 0.013
orElseGet returns empty when already handled πŸ”— Success 0.013
orElseGet returns Optional when not handled πŸ”— Success 0.009
orElseDo executes runnable when not handled πŸ”— Success 0.019
Properties Β»

Back to top

TestCase NodeMatcher Tests Utility Methods πŸ“Š

Name Status Type Time(s)
isControlFlowStatement returns true for throw πŸ”— Success 0.021
isControlFlowStatement returns true for continue πŸ”— Success 0.019
getExpression returns Optional with expression πŸ”— Success 0.041
getAssignment returns empty for non-assignment πŸ”— Success 0.010
getAssignment returns Optional with assignment πŸ”— Success 0.008
isAssignmentStatement returns false for non-assignment πŸ”— Success 0.008
isControlFlowStatement returns true for return πŸ”— Success 0.004
isAssignmentStatement returns true for assignment πŸ”— Success 0.015
isControlFlowStatement returns true for break πŸ”— Success 0.010
isControlFlowStatement returns false for variable declaration πŸ”— Success 0.011
getExpression returns empty for non-expression statement πŸ”— Success 0.004
Properties Β»

Back to top

TestCase StatementContext Tests πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase StatementContext Tests Conditional Helpers πŸ“Š

Name Status Type Time(s)
ifFirst executes for first statement πŸ”— Success 0.074
ifLast executes for last statement πŸ”— Success 0.014
ifNotLast executes for non-last statement πŸ”— Success 0.020
ifLast does not execute for non-last statement πŸ”— Success 0.014
ifOnly executes for only statement πŸ”— Success 0.026
Properties Β»

Back to top

TestCase StatementContext Tests Edge Cases πŸ“Š

Name Status Type Time(s)
Context chaining with ifLast πŸ”— Success 0.021
getRemainingCount is zero for last statement πŸ”— Success 0.021
Single statement is first, last, and only πŸ”— Success 0.017
Properties Β»

Back to top

TestCase StatementContext Tests Factory Methods πŸ“Š

Name Status Type Time(s)
processBlock allows early termination πŸ”— Success 0.021
forSingle creates context for single statement πŸ”— Success 0.013
forEachInBlock processes all statements πŸ”— Success 0.019
processBlock returns empty when no match πŸ”— Success 0.012
forStatement creates context with position info πŸ”— Success 0.017
Properties Β»

Back to top

TestCase StatementContext Tests List Operations πŸ“Š

Name Status Type Time(s)
getRemainingStatements returns empty for last statement πŸ”— Success 0.021
getPrecedingStatements returns statements before current πŸ”— Success 0.018
getRemainingStatements returns statements after current πŸ”— Success 0.012
getPrecedingStatements returns empty for first statement πŸ”— Success 0.015
Properties Β»

Back to top

TestCase StatementContext Tests Matcher Integration πŸ“Š

Name Status Type Time(s)
nextIs returns true for matching type πŸ”— Success 0.018
nextIs with predicate returns true when both match πŸ”— Success 0.043
nextMatches returns true when predicate matches πŸ”— Success 0.011
matcher returns NodeMatcher for statement πŸ”— Success 0.014
nextMatches returns false when predicate does not match πŸ”— Success 0.008
Properties Β»

Back to top

TestCase StatementContext Tests Navigation Methods πŸ“Š

Name Status Type Time(s)
getNextStatement returns next statement πŸ”— Success 0.008
getPreviousStatement returns previous statement πŸ”— Success 0.017
getPreviousStatement returns empty for first statement πŸ”— Success 0.015
getStatementAt returns empty for out of bounds πŸ”— Success 0.045
getNextStatement returns empty for last statement πŸ”— Success 0.008
getStatementAt returns statement at negative offset πŸ”— Success 0.009
getStatementAt returns statement at positive offset πŸ”— Success 0.010
Properties Β»

Back to top

TestCase StatementContext Tests Position Queries πŸ“Š

Name Status Type Time(s)
getRemainingCount returns correct count πŸ”— Success 0.013
isMiddle returns false for first statement πŸ”— Success 0.009
hasNext returns false for last statement πŸ”— Success 0.012
isOnly returns true for single statement πŸ”— Success 0.020
hasNext returns true when there are more statements πŸ”— Success 0.010
isLast returns true for last statement πŸ”— Success 0.008
isMiddle returns true for middle statement πŸ”— Success 0.012
isFirst returns false for non-first statement πŸ”— Success 0.015
isFirst returns true for first statement πŸ”— Success 0.013
hasPrevious returns true when there are previous statements πŸ”— Success 0.014
hasPrevious returns false for first statement πŸ”— Success 0.016
Properties Β»

Back to top

TestCase org.sandbox.jdt.internal.common.HelperVisitorFluentApiTest πŸ“Š

Name Status Type Time(s)
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.TriggerPatternCleanupTest πŸ“Š

Name Status Type Time(s)
testAnnotationPatternMatching πŸ”— Success 0.816
testNoMatchesForDifferentAnnotation πŸ”— Success 0.026
testAnnotationWithQualifiedType πŸ”— Success 0.027
testMultipleAnnotationMatches πŸ”— Success 0.021
testAnnotationWithPlaceholder πŸ”— Success 0.072
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.MultiPlaceholderTest πŸ“Š

Name Status Type Time(s)
testMultiPlaceholderConsistencyCheck πŸ”— Success 0.017
testMultiPlaceholderMatchesZeroArguments πŸ”— Success 0.007
testMultiPlaceholderMatchesOneArgument πŸ”— Success 0.006
testMultiPlaceholderMatchesMultipleArguments πŸ”— Success 0.007
testMultiPlaceholderMatchesVariousArgumentTypes πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.NewPatternKindsTest πŸ“Š

Name Status Type Time(s)
testSimpleField πŸ”— Success 0.010
testFieldWithPlaceholderType πŸ”— Success 0.009
testSimpleMarkerAnnotation πŸ”— Success 0.009
testSimpleMethodCall πŸ”— Success 0.024
testSimpleImport πŸ”— Success 0.007
testMultipleImports πŸ”— Success 0.010
testFieldWithAnnotation πŸ”— Success 0.010
testMultipleAnnotationsOnSameElement πŸ”— Success 0.012
testMethodCallWithMultipleArguments πŸ”— Success 0.043
testAnnotationWithParameters πŸ”— Success 0.012
testMethodCallWithPlaceholderQualifier πŸ”— Success 0.013
testStaticImport πŸ”— Success 0.007
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PatternParserTest πŸ“Š

Name Status Type Time(s)
testParseSimpleExpression πŸ”— Success 0.002
testParsePlaceholderExpression πŸ”— Success 0.010
testParseMethodInvocation πŸ”— Success 0.008
testParseIfStatement πŸ”— Skipped
org.opentest4j.AssertionFailedError: Parser should return a non-null node ==> expected: not <null> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49) at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35) at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312) at org.sandbox.jdt.triggerpattern.test.PatternParserTest.testParseIfStatement(PatternParserTest.java:73) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testParseReturnStatement πŸ”— Success 0.015
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.PlaceholderMatcherTest πŸ“Š

Name Status Type Time(s)
testNonPlaceholderMustMatchExactly πŸ”— Success 0.011
testMultipleSamePlaceholdersMustMatch πŸ”— Success 0.007
testDifferentPlaceholdersBindIndependently πŸ”— Success 0.014
testPlaceholderBinds πŸ”— Success 0.008
Properties Β»

Back to top

TestCase org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest πŸ“Š

Name Status Type Time(s)
testMultipleSamePlaceholder πŸ”— Success 0.038
testNoMatchesFound πŸ”— Success 0.012
testFindSingleMatch πŸ”— Success 0.007
testStatementPattern πŸ”— Skipped
org.opentest4j.AssertionFailedError: Should find one statement pattern match ==> expected: <1> but was: <0> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563) at org.sandbox.jdt.triggerpattern.test.TriggerPatternEngineTest.testStatementPattern(TriggerPatternEngineTest.java:134) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
0.000
testFindMultipleMatches πŸ”— Success 0.005
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ASTProcessorTest πŸ“Š

Name Status Type Time(s)
testAncestorNavigation πŸ”— Success 0.041
testAssignmentByOperator πŸ”— Success 0.016
testHierarchicalSearch πŸ”— Success 0.009
testInfixExpressionByOperator πŸ”— Success 0.022
testMethodDeclarationByName πŸ”— Success 0.012
testSingleVisitor πŸ”— Success 0.004
testCatchClauseByExceptionType πŸ”— Success 0.039
testFieldDeclarationByType πŸ”— Success 0.025
testClassInstanceCreationWithTypeAndNavigate πŸ”— Success 0.001
testMethodInvocationFiltering πŸ”— Success 0.005
testTypeDeclarationByName πŸ”— Success 0.000
testSuperMethodInvocationByName πŸ”— Success 0.015
testBasicChaining πŸ”— Success 0.001
testForStatementWithTypeFilter πŸ”— Success 0.035
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.AdvancedVisitorPatternsTest πŸ“Š

Name Status Type Time(s)
testCoordinatedMultiPhaseProcessing πŸ”— Success 0.036
testCombiningVisitorsWithOr πŸ”— Success 0.001
testCombiningVisitorsWithAnd πŸ”— Success 0.005
testDynamicVisitorRemoval πŸ”— Success 0.004
testTrackingProcessedNodes πŸ”— Success 0.002
testNegateFilter πŸ”— Success 0.001
testStatefulVisitorBehavior πŸ”— Success 0.003
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.BasicVisitorUsageTest πŸ“Š

Name Status Type Time(s)
testMethodNameFiltering πŸ”— Success 0.010
testMethodNameFilteringTraditional πŸ”— Success 0.004
testTraditionalVisitorApproach πŸ”— Success 0.007
testLambdaExpression πŸ”— Success 0.001
testSkipChildNodes πŸ”— Success 0.008
testMultipleNodeTypes πŸ”— Success 0.003
testVisitEndCallback πŸ”— Success 0.001
testBasicMethodReference πŸ”— Success 0.001
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.MatcherTest πŸ“Š

Name Status Type Time(s)
matcherTest πŸ”— Success 0.008
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.ReferenceHolderTest πŸ“Š

Name Status Type Time(s)
testCountingWithStaticMethod πŸ”— Success 0.031
testComplexDataStructures πŸ”— Success 0.002
testCollectingNodePositions πŸ”— Success 0.008
testCountingNodes πŸ”— Success 0.009
testLazyInitialization πŸ”— Success 0.010
testSharedDataBetweenCallbacks πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorApiDocumentationTest πŸ“Š

Name Status Type Time(s)
testCallbackSignatures πŸ”— Success 0.008
testBasicUsagePattern πŸ”— Success 0.005
testVisitEndCallbacks πŸ”— Success 0.009
testApiOverview πŸ”— Success 0.004
testDataSharingPatterns πŸ”— Success 0.005
testStaticHelperMethods πŸ”— Success 0.008
testVisitorRegistration πŸ”— Success 0.002
Properties Β»

Back to top

TestCase org.sandbox.jdt.ui.tests.quickfix.VisitorTest πŸ“Š

Name Status Type Time(s)
testNestedHierarchicalSearch πŸ”— Success 0.008
testFluentApiWithMethodFiltering πŸ”— Success 0.008
testMethodInvocationByType πŸ”— Success 0.001
testMultiPhaseProcessing πŸ”— Success 0.018
testSimpleFluentApi πŸ”— Success 0.004
testDynamicVisitorModification πŸ”— Success 0.003
testFluentApiWithNavigation πŸ”— Success 0.010
testComplexDataCollection πŸ”— Success 0.005
Properties Β»

Back to top

All Test Reports | Coverage Reports | GitHub Repository

Generated by Sandbox